home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Resources
/
Chat & Communication
/
Digsby build 37
/
digsby_setup.exe
/
lib
/
encodings
/
cp862.pyo
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2008-10-13
|
9KB
|
430 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.5)
import codecs
class Codec(codecs.Codec):
def encode(self, input, errors = 'strict'):
return codecs.charmap_encode(input, errors, encoding_map)
def decode(self, input, errors = 'strict'):
return codecs.charmap_decode(input, errors, decoding_table)
class IncrementalEncoder(codecs.IncrementalEncoder):
def encode(self, input, final = False):
return codecs.charmap_encode(input, self.errors, encoding_map)[0]
class IncrementalDecoder(codecs.IncrementalDecoder):
def decode(self, input, final = False):
return codecs.charmap_decode(input, self.errors, decoding_table)[0]
class StreamWriter(Codec, codecs.StreamWriter):
pass
class StreamReader(Codec, codecs.StreamReader):
pass
def getregentry():
return codecs.CodecInfo(name = 'cp862', encode = Codec().encode, decode = Codec().decode, incrementalencoder = IncrementalEncoder, incrementaldecoder = IncrementalDecoder, streamreader = StreamReader, streamwriter = StreamWriter)
decoding_map = codecs.make_identity_dict(range(256))
decoding_map.update({
128: 1488,
129: 1489,
130: 1490,
131: 1491,
132: 1492,
133: 1493,
134: 1494,
135: 1495,
136: 1496,
137: 1497,
138: 1498,
139: 1499,
140: 1500,
141: 1501,
142: 1502,
143: 1503,
144: 1504,
145: 1505,
146: 1506,
147: 1507,
148: 1508,
149: 1509,
150: 1510,
151: 1511,
152: 1512,
153: 1513,
154: 1514,
155: 162,
156: 163,
157: 165,
158: 8359,
159: 402,
160: 225,
161: 237,
162: 243,
163: 250,
164: 241,
165: 209,
166: 170,
167: 186,
168: 191,
169: 8976,
170: 172,
171: 189,
172: 188,
173: 161,
174: 171,
175: 187,
176: 9617,
177: 9618,
178: 9619,
179: 9474,
180: 9508,
181: 9569,
182: 9570,
183: 9558,
184: 9557,
185: 9571,
186: 9553,
187: 9559,
188: 9565,
189: 9564,
190: 9563,
191: 9488,
192: 9492,
193: 9524,
194: 9516,
195: 9500,
196: 9472,
197: 9532,
198: 9566,
199: 9567,
200: 9562,
201: 9556,
202: 9577,
203: 9574,
204: 9568,
205: 9552,
206: 9580,
207: 9575,
208: 9576,
209: 9572,
210: 9573,
211: 9561,
212: 9560,
213: 9554,
214: 9555,
215: 9579,
216: 9578,
217: 9496,
218: 9484,
219: 9608,
220: 9604,
221: 9612,
222: 9616,
223: 9600,
224: 945,
225: 223,
226: 915,
227: 960,
228: 931,
229: 963,
230: 181,
231: 964,
232: 934,
233: 920,
234: 937,
235: 948,
236: 8734,
237: 966,
238: 949,
239: 8745,
240: 8801,
241: 177,
242: 8805,
243: 8804,
244: 8992,
245: 8993,
246: 247,
247: 8776,
248: 176,
249: 8729,
250: 183,
251: 8730,
252: 8319,
253: 178,
254: 9632,
255: 160 })
decoding_table = u'\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\xd7\x90\xd7\x91\xd7\x92\xd7\x93\xd7\x94\xd7\x95\xd7\x96\xd7\x97\xd7\x98\xd7\x99\xd7\x9a\xd7\x9b\xd7\x9c\xd7\x9d\xd7\x9e\xd7\x9f\xd7\xa0\xd7\xa1\xd7\xa2\xd7\xa3\xd7\xa4\xd7\xa5\xd7\xa6\xd7\xa7\xd7\xa8\xd7\xa9\xd7\xaa\xc2\xa2\xc2\xa3\xc2\xa5\xe2\x82\xa7\xc6\x92\xc3\xa1\xc3\xad\xc3\xb3\xc3\xba\xc3\xb1\xc3\x91\xc2\xaa\xc2\xba\xc2\xbf\xe2\x8c\x90\xc2\xac\xc2\xbd\xc2\xbc\xc2\xa1\xc2\xab\xc2\xbb\xe2\x96\x91\xe2\x96\x92\xe2\x96\x93\xe2\x94\x82\xe2\x94\xa4\xe2\x95\xa1\xe2\x95\xa2\xe2\x95\x96\xe2\x95\x95\xe2\x95\xa3\xe2\x95\x91\xe2\x95\x97\xe2\x95\x9d\xe2\x95\x9c\xe2\x95\x9b\xe2\x94\x90\xe2\x94\x94\xe2\x94\xb4\xe2\x94\xac\xe2\x94\x9c\xe2\x94\x80\xe2\x94\xbc\xe2\x95\x9e\xe2\x95\x9f\xe2\x95\x9a\xe2\x95\x94\xe2\x95\xa9\xe2\x95\xa6\xe2\x95\xa0\xe2\x95\x90\xe2\x95\xac\xe2\x95\xa7\xe2\x95\xa8\xe2\x95\xa4\xe2\x95\xa5\xe2\x95\x99\xe2\x95\x98\xe2\x95\x92\xe2\x95\x93\xe2\x95\xab\xe2\x95\xaa\xe2\x94\x98\xe2\x94\x8c\xe2\x96\x88\xe2\x96\x84\xe2\x96\x8c\xe2\x96\x90\xe2\x96\x80\xce\xb1\xc3\x9f\xce\x93\xcf\x80\xce\xa3\xcf\x83\xc2\xb5\xcf\x84\xce\xa6\xce\x98\xce\xa9\xce\xb4\xe2\x88\x9e\xcf\x86\xce\xb5\xe2\x88\xa9\xe2\x89\xa1\xc2\xb1\xe2\x89\xa5\xe2\x89\xa4\xe2\x8c\xa0\xe2\x8c\xa1\xc3\xb7\xe2\x89\x88\xc2\xb0\xe2\x88\x99\xc2\xb7\xe2\x88\x9a\xe2\x81\xbf\xc2\xb2\xe2\x96\xa0\xc2\xa0'
encoding_map = {
0: 0,
1: 1,
2: 2,
3: 3,
4: 4,
5: 5,
6: 6,
7: 7,
8: 8,
9: 9,
10: 10,
11: 11,
12: 12,
13: 13,
14: 14,
15: 15,
16: 16,
17: 17,
18: 18,
19: 19,
20: 20,
21: 21,
22: 22,
23: 23,
24: 24,
25: 25,
26: 26,
27: 27,
28: 28,
29: 29,
30: 30,
31: 31,
32: 32,
33: 33,
34: 34,
35: 35,
36: 36,
37: 37,
38: 38,
39: 39,
40: 40,
41: 41,
42: 42,
43: 43,
44: 44,
45: 45,
46: 46,
47: 47,
48: 48,
49: 49,
50: 50,
51: 51,
52: 52,
53: 53,
54: 54,
55: 55,
56: 56,
57: 57,
58: 58,
59: 59,
60: 60,
61: 61,
62: 62,
63: 63,
64: 64,
65: 65,
66: 66,
67: 67,
68: 68,
69: 69,
70: 70,
71: 71,
72: 72,
73: 73,
74: 74,
75: 75,
76: 76,
77: 77,
78: 78,
79: 79,
80: 80,
81: 81,
82: 82,
83: 83,
84: 84,
85: 85,
86: 86,
87: 87,
88: 88,
89: 89,
90: 90,
91: 91,
92: 92,
93: 93,
94: 94,
95: 95,
96: 96,
97: 97,
98: 98,
99: 99,
100: 100,
101: 101,
102: 102,
103: 103,
104: 104,
105: 105,
106: 106,
107: 107,
108: 108,
109: 109,
110: 110,
111: 111,
112: 112,
113: 113,
114: 114,
115: 115,
116: 116,
117: 117,
118: 118,
119: 119,
120: 120,
121: 121,
122: 122,
123: 123,
124: 124,
125: 125,
126: 126,
127: 127,
160: 255,
161: 173,
162: 155,
163: 156,
165: 157,
170: 166,
171: 174,
172: 170,
176: 248,
177: 241,
178: 253,
181: 230,
183: 250,
186: 167,
187: 175,
188: 172,
189: 171,
191: 168,
209: 165,
223: 225,
225: 160,
237: 161,
241: 164,
243: 162,
247: 246,
250: 163,
402: 159,
915: 226,
920: 233,
931: 228,
934: 232,
937: 234,
945: 224,
948: 235,
949: 238,
960: 227,
963: 229,
964: 231,
966: 237,
1488: 128,
1489: 129,
1490: 130,
1491: 131,
1492: 132,
1493: 133,
1494: 134,
1495: 135,
1496: 136,
1497: 137,
1498: 138,
1499: 139,
1500: 140,
1501: 141,
1502: 142,
1503: 143,
1504: 144,
1505: 145,
1506: 146,
1507: 147,
1508: 148,
1509: 149,
1510: 150,
1511: 151,
1512: 152,
1513: 153,
1514: 154,
8319: 252,
8359: 158,
8729: 249,
8730: 251,
8734: 236,
8745: 239,
8776: 247,
8801: 240,
8804: 243,
8805: 242,
8976: 169,
8992: 244,
8993: 245,
9472: 196,
9474: 179,
9484: 218,
9488: 191,
9492: 192,
9496: 217,
9500: 195,
9508: 180,
9516: 194,
9524: 193,
9532: 197,
9552: 205,
9553: 186,
9554: 213,
9555: 214,
9556: 201,
9557: 184,
9558: 183,
9559: 187,
9560: 212,
9561: 211,
9562: 200,
9563: 190,
9564: 189,
9565: 188,
9566: 198,
9567: 199,
9568: 204,
9569: 181,
9570: 182,
9571: 185,
9572: 209,
9573: 210,
9574: 203,
9575: 207,
9576: 208,
9577: 202,
9578: 216,
9579: 215,
9580: 206,
9600: 223,
9604: 220,
9608: 219,
9612: 221,
9616: 222,
9617: 176,
9618: 177,
9619: 178,
9632: 254 }